namespace PMS.Model
{
    using System;

    public class Organ
    {
        private DateTime? _adddate;
        private string _address;
        private string _adduser;
        private string _bankid;
        private string _bankname;
        private string _buildname;
        private string _contact;
        private string _functions;
        private int _IsOffice;
        private string _legalperson;
        private string _levelname;
        private int? _levelno;
        private string _organbranchcode;
        private int? _organbuildid;
        private int? _organclassid;
        private string _organcode;
        private string _organdescription;
        private int _organid;
        private int? _organlevelid;
        private string _organname;
        private string _organname2;
        private int? _organroleid;
        private int? _organtypeid;
        private int? _parentid;
        private string _parentname;
        private string _PayWay;
        private DateTime? _PermitDate;
        private string _permitno;
        private int? _permitorgancount;
        private string _postcode;
        private int? _realityorgancount;
        private string _remark;
        private string _rolename;
        private string _tel;
        private string _typename;
        private DateTime? _updatedate;
        private string _updateuser;

        public DateTime? AddDate
        {
            get
            {
                return this._adddate;
            }
            set
            {
                this._adddate = value;
            }
        }

        public string Address
        {
            get
            {
                return this._address;
            }
            set
            {
                this._address = value;
            }
        }

        public string AddUser
        {
            get
            {
                return this._adduser;
            }
            set
            {
                this._adduser = value;
            }
        }

        public string BankID
        {
            get
            {
                return this._bankid;
            }
            set
            {
                this._bankid = value;
            }
        }

        public string BankName
        {
            get
            {
                return this._bankname;
            }
            set
            {
                this._bankname = value;
            }
        }

        public string BuildName
        {
            get
            {
                return this._buildname;
            }
            set
            {
                this._buildname = value;
            }
        }

        public string Contact
        {
            get
            {
                return this._contact;
            }
            set
            {
                this._contact = value;
            }
        }

        public string Functions
        {
            get
            {
                return this._functions;
            }
            set
            {
                this._functions = value;
            }
        }

        public int IsOffice
        {
            get
            {
                return this._IsOffice;
            }
            set
            {
                this._IsOffice = value;
            }
        }

        public string LegalPerson
        {
            get
            {
                return this._legalperson;
            }
            set
            {
                this._legalperson = value;
            }
        }

        public string LevelName
        {
            get
            {
                return this._levelname;
            }
            set
            {
                this._levelname = value;
            }
        }

        public int? LevelNo
        {
            get
            {
                return this._levelno;
            }
            set
            {
                this._levelno = value;
            }
        }

        public string OrganBranchCode
        {
            get
            {
                return this._organbranchcode;
            }
            set
            {
                this._organbranchcode = value;
            }
        }

        public int? OrganBuildID
        {
            get
            {
                return this._organbuildid;
            }
            set
            {
                this._organbuildid = value;
            }
        }

        public int? OrganClassID
        {
            get
            {
                return this._organclassid;
            }
            set
            {
                this._organclassid = value;
            }
        }

        public string OrganCode
        {
            get
            {
                return this._organcode;
            }
            set
            {
                this._organcode = value;
            }
        }

        public string OrganDescription
        {
            get
            {
                return this._organdescription;
            }
            set
            {
                this._organdescription = value;
            }
        }

        public int OrganID
        {
            get
            {
                return this._organid;
            }
            set
            {
                this._organid = value;
            }
        }

        public int? OrganLevelID
        {
            get
            {
                return this._organlevelid;
            }
            set
            {
                this._organlevelid = value;
            }
        }

        public string OrganName
        {
            get
            {
                return this._organname;
            }
            set
            {
                this._organname = value;
            }
        }

        public string OrganName2
        {
            get
            {
                return this._organname2;
            }
            set
            {
                this._organname2 = value;
            }
        }

        public int? OrganRoleID
        {
            get
            {
                return this._organroleid;
            }
            set
            {
                this._organroleid = value;
            }
        }

        public int? OrganTypeID
        {
            get
            {
                return this._organtypeid;
            }
            set
            {
                this._organtypeid = value;
            }
        }

        public int? ParentID
        {
            get
            {
                return this._parentid;
            }
            set
            {
                this._parentid = value;
            }
        }

        public string ParentName
        {
            get
            {
                return this._parentname;
            }
            set
            {
                this._parentname = value;
            }
        }

        public string PayWay
        {
            get
            {
                return this._PayWay;
            }
            set
            {
                this._PayWay = value;
            }
        }

        public DateTime? PermitDate
        {
            get
            {
                return this._PermitDate;
            }
            set
            {
                this._PermitDate = value;
            }
        }

        public string PermitNo
        {
            get
            {
                return this._permitno;
            }
            set
            {
                this._permitno = value;
            }
        }

        public int? PermitOrganCount
        {
            get
            {
                return this._permitorgancount;
            }
            set
            {
                this._permitorgancount = value;
            }
        }

        public string Postcode
        {
            get
            {
                return this._postcode;
            }
            set
            {
                this._postcode = value;
            }
        }

        public int? RealityOrganCount
        {
            get
            {
                return this._realityorgancount;
            }
            set
            {
                this._realityorgancount = value;
            }
        }

        public string Remark
        {
            get
            {
                return this._remark;
            }
            set
            {
                this._remark = value;
            }
        }

        public string RoleName
        {
            get
            {
                return this._rolename;
            }
            set
            {
                this._rolename = value;
            }
        }

        public string Tel
        {
            get
            {
                return this._tel;
            }
            set
            {
                this._tel = value;
            }
        }

        public string TypeName
        {
            get
            {
                return this._typename;
            }
            set
            {
                this._typename = value;
            }
        }

        public DateTime? UpdateDate
        {
            get
            {
                return this._updatedate;
            }
            set
            {
                this._updatedate = value;
            }
        }

        public string UpdateUser
        {
            get
            {
                return this._updateuser;
            }
            set
            {
                this._updateuser = value;
            }
        }
    }
}

